JavaScript

{dialog.object}synchronizeLists Method

Syntax

{dialog.object}.synchronizeLists([options]);

Arguments

optionsJSON Object

A JSON object specifying optional parameters. Available options include:

rowsnumberstringnumber array

The rows to submit. Can explicitly define as number or array of numbers to submit specific rows. Use the string 'current' to specify only the current row should be submitted. Use the string 'allRows' to submit all rows.

batchSizenumber

Overrides the batch size property for the List control. Specifies the number of records to submit when data is synchronized using batches.

allChildRecordsboolean

Can be true or false. If true, child records will be submitted for a List control that has one or more child Lists.

allParentListsboolean

Can be true or false. If true, parent records will be submitted for a List control that has a parent List.

resetMediaFileUploadErrorsboolean

Can be true or false. If true, file upload media errors will be reset. For Cordova applications with media files.

checkForMediaFilesboolean

If true, new or updated media files will be synchronized. For Cordova applications with media files.

fixMediaFileReferencesboolean

Flag fix media file references. For Cordova applications with media files.

{dialog.object}.saveListEdits() method for each List in the component."/>

Description

Synchronizes all Lists. This method calls the {dialog.object}.saveListEdits() method for each List in the component.

Example

{dialog.object}.synchronizeLists();

See Also